/*
	libsimple_graphical - unambitious C++ graphical library
	https://notabug.org/namark/libsimple_graphical
	https://gitlab.com/namark/libsimple_graphical
	https://github.com/namark/libsimple_graphical

	Copyright (C) 2017-2019 respective authors/contributors

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SIMPLE_GRAPHICAL_COLOR_H
#define SIMPLE_GRAPHICAL_COLOR_H

#include <cstdint>

#include "color_vector.hpp"

namespace simple::graphical
{

	class pixel_format;

	class color
	{
		uint32_t raw;

		public:
		color() = default;
		constexpr explicit color(uint32_t raw) : raw(raw) {};
		color(const pixel_format& format, const rgb_pixel& values);
		color(const pixel_format& format, const rgba_pixel& values);
		explicit operator uint32_t() const;
	};

} // namespace simple::graphical

#endif /* end of include guard */
